<template>
	<view class="content">
		<image class="logo" src="../../static/shixiaozhulogo.jpg" ></image>
		<view class="text-area">
			<view class="title" style="width: 90%;margin-top: 30rpx;">
				<u-notice-bar type="primary" :list="list"></u-notice-bar>
			</view>
			<!-- <image class="urlimg" src="../../static/shixiaozhu.png" mode="widthFix" @click="preview()" style="width:80%"></image> -->
			<view class="title" style="margin-top: 20rpx;color: #FF7F50;">
				点击图片，长按扫一扫即可添加食小助微信~
			</view>
		</view>
		<!-- //消息弹窗 -->
		<u-toast ref="uToast" />
	</view>
</template>

<script>
	const db = uniCloud.database()
	export default {
		data() {
			return {
				title: 'Hello',
				url: "../../static/shixiaozhu.png",
				list: ['食小助入住中南大学创业园，为大学生创新创业项目','食小助可以外卖配送上楼','食小助可以超时半价赔付','食小助可以点外卖更优惠']
			}
		},
		onLoad() {
			let that = this
		},
		methods: {
			preview() {
				let url = []
				url.push(this.url)
				uni.previewImage({
					urls: url,
					current: url[0]
				})
			}
		}
	}
</script>

<style>
	page{
		/* background-color: #FFFFFF; */
	}
	//动态效果
	.action-click{
		display: flex;
		line-height: 100rpx;
		width: 750rpx;
		font-size: 35rpx;
		font-weight: bold;
		overflow: hidden;
		white-space: nowrap;
		animation: typing 8s;
	}
	@keyframes typing {
		from {
			width: 200rpx;
		}
	}
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 40rpx;
		margin-left: auto;
		margin-right: auto;
		/* margin-bottom: 50rpx; */
		border-radius: 50%;
	}
	.text-area {
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-content: center;
	}
	.title {
		font-size: 36rpx;
		color: #8f8f94;
		align-content: center;
		align-items: center;
		align-self: center;
	}
	.urlimg {
		margin-top: 30rpx;
		align-content: center;
		align-items: center;
		align-self: center;
	}
</style>
